/*
 * Similarity.cpp
 *
 *  Created on: 17/06/2011
 *      Author: Idan
 */

#include "Similarity.h"

Similarity::Similarity(const Matrix& A, const Matrix& B,
		int priority, const int jobID):Job(A,B,priority,jobID) {}
Matrix Similarity::execute(){
	Matrix inverseA = matrix1.inverse();
	return inverseA*matrix2*matrix1;
}

